﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJ.FaultHandler.Polly;

public class PollyFaultHandlerConfig
{
    public List<FaultHandlerInfoConfig> Infos { get; set; } = [];
}
public class FaultHandlerInfoConfig
{
    public string Key { get; set; } = null!;
    public int MaxRetryAttempt { get; set; } = 2;
    public int Delay { get; set; } = 1;
}